package com.lyx.damai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName product
 */
@TableName(value ="product")
@Data
public class Product implements Serializable {
    /**
     * 
     */
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    /**
     * 
     */
    @TableField(value = "pname")
    private String pname;

    /**
     * 
     */
    @TableField(value = "market_price")
    private Double market_price;

    /**
     * 
     */
    @TableField(value = "shop_price")
    private Double shop_price;

    /**
     * 
     */
    @TableField(value = "image")
    private String image;

    /**
     * 
     */
    @TableField(value = "pdesc")
    private String pdesc;

    /**
     * 
     */
    @TableField(value = "is_hot")
    private Integer is_hot;

    /**
     * 
     */
    @TableField(value = "pdate")
    private Date pdate;

    /**
     * 
     */
    @TableField(value = "csid")
    private Integer csid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}